home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
libs
/
dslibrary.lha
/
ds.library
/
autodocs
/
clib
/
ds_protos.h
Wrap
C/C++ Source or Header
|
1997-02-13
|
1KB
|
40 lines
@DATABASE "clib/ds_protos.h"
@MASTER "Workbench31:MCPP4.0_PRO/Aminet/ds.library/autodocs//include/clib/ds_protos.h"
@REMARK This file was created by ADtoHT 2.1 on 13-Feb-97 20:07:57
@REMARK Do not edit
@REMARK ADtoHT is © 1993-1995 Christian Stieber
@NODE MAIN "clib/ds_protos.h"
@{"clib/ds_protos.h" LINK File}
@ENDNODE
@NODE File "clib/ds_protos.h"
/*
** $VER: ds_protos.h 37.0 (30.01.97)
**
** prototypes for @{"ds.library" LINK "ds/MAIN"}
**
** (C) Copyright 1997 Markus Hillenbrand
** All Rights Reserved.
*/
#ifndef CLIB_DS_PROTOS_H
#define CLIB_DS_PROTOS_H
#ifndef LIBRARIES_DS_H
#include <@{"libraries/ds.h" LINK "libraries/ds.h/File"}>
#endif
/* These functions are available for all data structures */
/* These functions are useful with b trees on disk */
int DS_BTreeOpen (@{"BTREE" LINK "libraries/ds.h/File" 24} *tree, char *fileName, int keySize, int dataSize, int (*compareFunction)(void *, void *));
void DS_BTreeClose (@{"BTREE" LINK "libraries/ds.h/File" 24} t);
int DS_BTreeInsert (@{"BTREE" LINK "libraries/ds.h/File" 24} t, void *key, void *data);
int DS_BTreeDelete (@{"BTREE" LINK "libraries/ds.h/File" 24} t, void *key);
int DS_BTreeGetEntry (@{"BTREE" LINK "libraries/ds.h/File" 24} t, void *key, void *mem);
#endif /* CLIB_DS_PROTOS_H */
@ENDNODE